function tips() {
    layer.alert('东方丽景阿里客服都是煎熬两款发动机萨拉开发建设的连接', {
        icon: 2,
        skin: 'layer-ext-moon'
    });
}
$(function () {
    //百度分享
    window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
    //返回顶部
    var $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body'); //operaFix
    $(".toTop").click(function(){
        $body.animate({scrollTop: 0});
    });
    //二级导航
    $('.header .san').click(function(){
        if($(this).hasClass('cur')){
            $(this).removeClass('cur');
            $('.nav').slideUp();
        }
        else{
            $(this).addClass('cur');
            $('.nav').slideDown();
        }
    });
});